import { ref, onMounted } from 'vue'
export default function () {
  const focusRef = ref(null)
  onMounted(() => {
    focusRef.value.focus()
  })
  return focusRef
}
